package com.zulin.quartz;

import java.text.ParseException;
import java.util.Date;

import org.quartz.SchedulerException;

import com.zulin.utils.StringUtils;

public class Start {

	public static void main(String[] args) throws SchedulerException {
		
		StringUtils stringUtils = new StringUtils(); 
		String str =  "4/24/2014 22:01";
		Date date;
		try {
			date = stringUtils.toDate(str);
			Sched sched = new Sched();
			sched.setReminddate(date);
			sched.startShedule();
		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		/*Sched sched = new Sched();
		
		sched.setReminddate(date);
		sched.startShedule();*/
		
		
	}
	
	

}
